<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--
 * $Rev: 163 $
 * $Date: 2011-03-29 13:51:49 +0000 (Tue, 29 Mar 2011) $
 *
 * ***** BEGIN LICENSE BLOCK *****
 *
 * Version: MPL 1.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 *
 * The Original Code is recreating-source.htm
 *
 * The Initial Developer of the Original Code is Peter Johnson
 * (http://www.delphidabbler.com/).
 *
 * Portions created by the Initial Developer are Copyright (C) 2011 Peter
 * Johnson. All Rights Reserved.
 *
 * Contributor(s)
 *   NONE
 *
 * ***** END LICENSE BLOCK *****
-->
<html>
  <head>
    <meta http-equiv="Content-Type" content="text-html; charset=Windows-1252">
    <title>
      recreating-source
    </title>
    <link rel="stylesheet" href="../css/help.css" type="text/css">
  </head>
  <body>
    <h1>
      Recreating RC Source Code
    </h1>
    <p>
      <em>Version Information Spy</em> can recreate, or at least estimate, the
      resource source code that was used to create a version information
      resource.
    </p>
    <p>
      To do this open a file in the program to display its version information.
      Now select the <span
        class="menuref"
      >Report | Source Code</span> menu option. This will display the decompiled
      source in the <a
        href="dlg-report-source.htm"
      >Resource Source Code dialog box</a>. You can copy this source to the
      clipboard or save it to disk. A resource compiler such as Borland's
      <code>BRCC32</code> will be able to compile this code into a binary
      resource file.
    </p>
    <p>
      If the version information has inconsistencies the program can also create
      source code that fixes the problems. Use the <span
        class="menuref"
      >Report | Corrected Source Code</span> menu option to do this. The result
      is displayed in the <a
        href="dlg-report-source.htm"
      >Resource Source Code dialog box</a>.
    </p>
    <p>
      The command line version of <em>Version Information Spy</em> can also be
      used to recreate a RC source file from a program's version information.
      See the <a
        href="command-line-program.htm"
      >command line program</a> topic for an example of how to do this.
    </p>
    <div class="seealso">
      <div class="caption">
        See also:
      </div>
      <ul>
        <li>
          <a
            href="creating-reports.htm"
          >Creating reports</a>
        </li>
      </ul>
    </div>
  </body>
</html>

